# -*- coding: UTF-8 -*-
__license__ = "GPL http://www.gnu.org/licenses/gpl.txt"
__author__="xushengs@gmail.com"
__homepage__ = "http://fdream.net"
__date__ ="2010-2-26 17:39:27"
__version = "0.1"

import os

class config:
    # replace it to your consumer key
    consumer_key = 'wm74hH6GpiLVXMLN8oNEA'
    # replace it to your consumer secret
    consumer_secret = 'V8QpAjamur112WnSk4fJPgyxGUUFo9xFs5kh6kZgdTE'
    # replace it to your application url
    #self.home = 'http://localhost:8080/'
    home_url = 'http://wallapricot.appspot.com/'
    #self.callback = 'http://localhost:8080/?callback'
    callback_url = 'http://wallapricot.appspot.com/'
    # IMPORTANT!! DO NOT change anyone of them
    request_token = 'https://api.twitter.com/oauth/request_token'
    access_token = 'https://api.twitter.com/oauth/access_token'
    authorize = 'https://api.twitter.com/oauth/authorize'
    api = 'http://api.twitter.com/1/'
    twitter_api = 'http://api.twitter.com/1/'

    # inorder to keep user account security,
    # please modify it to any chracters.
    encrypt_key = 'GAETwitter'

    # cookie name
    cookie_name = 'gtwkey'
    
    # sesstion timeout, unit is second, default is 20 minutes
    session = 20

    # cookie timeout, unit is second, default is 10 years
    cookie = 365 * 24 * 60 * 10
    
    # page size
    pagesize = 20

    # data format, DO NOT change it
    format = 'json'

    # templates path, DO NOT change it
    tpl_path = os.path.join(os.path.dirname(__file__), 'tpls/')